From Design to Implementation with Simulink and LEGO NXT
نویسندگان
چکیده
The use of mobile robotics in teaching has the potential to be revolutionized by a) advances in low-cost, computationally powerful target hardware, and b) automatic code generation or 'rapid prototyping' tools which allow these devices to be programmed directly from high-level Matlab / Simulink-based designs. This paper describes progress on a National Science Foundation and MathWorks sponsored project aimed at bringing all these elements together for practical use and benefit in the classroom. The paper describes the Villanova University LEGO Real Time target (VU-LRT) which extends the MathWorks Real Time Workshop to enable target implementation on the LEGO MindStorms NXT brick. The VU-LRT blockset enables students to access the hardware capabilities of the 32-bit LEGO NXT brick from within Simulink environment, and to automatically generate and cross-compile the necessary code for real time autonomous implementation. The tool is similar to the existing ECRobot target, but the latter is constrained by its function call architecture and non-standard use of the Simulink Real-Time Workshop. The presented toolbox is much simpler to use. LEGO hardware I/O is represented in the Simulink design mode as blocks for accessing motors, encoders, pushbuttons , ultrasound sensors, light sensors and more. Blocks have also been developed to allow the LEGO target to communicate in real time with a host computer over USB or BlueTooth communications. An example system, consisting of a closed loop dc motor speed control system is discussed.
منابع مشابه
Rapid Prototyping and Implementation of Student Designs Using Simulink and the LEGO MINDSTORMS NXT
The use of embedded / mechatronic systems in teaching is being revolutionized by a) the advent of increasingly powerful yet low-cost computational devices and sensors, and b) by modern Automatic Code Generation tools which allow these devices to be programmed directly from high-level designs without the difficulties traditionally associated with low level embedded system programming. This paper...
متن کاملGenetic Algorithms with Lego Mindstorms and Matlab
This paper presents a case study in combining Lego Mindstorms NXT with Matlab/Simulink to help students in an undergraduate Machine Learning course study genetic algorithm design and testing. The project uses the VU-LRT toolbox to enable students to access the hardware capabilities of the Mindstorms platform from within Matlab. The course’s enrollment was comprised of students from several majo...
متن کاملMultivariable Controller Design of a Lego Mindstorm NXT Robotic Arm
In this paper we present a 3R Lego Mindstorm robotic arm for a multivariable controller design through the use of Matlab and Simulink. System identification was performed to estimate the parameters of the system for a pick and place task. A Proportional-Integral (PI) controller was designed for a decoupled plant. Tustin and Forward Euler discretization techniques were compared to the continous ...
متن کاملLego Plays Chess: A Low-Cost, Low-Complexity Approach to Intelligent Robotics
The design and implementation of a robotic chess agent is described. Shallow Blue, a competitor in the AAAI 2011 Small Scale Manipulation Challenge, is constructed with low-cost components including Lego NXT bricks and is programmed using Java and Lejos.
متن کاملA Platform for Real-Time Control Education with LEGO MINDSTORMS
A set of software development tools for building real-time control systems on a simple robotics platform is described in the paper. The tools are being used in a real-time systems course as a basis for student projects. The development platform is a low-cost PC running GNU/Linux, and the target system is LEGO MINDSTORMS NXT, thus keeping the cost of the laboratory low. Real-time control softwar...
متن کامل